  <div class="article-summary rss-box">
	    <h2>
        Latest news
      </h2>
	    {% for feed_source in result.feeds %}
        <h3>
          {{ feed_source|first|first }}
          (<a href="{% url rss_manage feed_source|first|last %}">Delete</a>)
        </h3>
        <ul class="rss_feeds">
        {% for feed in feed_source %}

          {% if not feed.link and feed != feed_source|first %}
            </ul>

            <h3>
              {{ feed }}
              (<a href="{% url rss_manage feed_source|first|last %}">Delete</a>)
            </h3>

            <ul>
          {% endif %}

          {% if feed.link %}
            <li><a href="{{ feed.link }}">{{ feed.title }}</a></li>
          {% endif %}

        {% endfor %}        
        </ul>
      {% endfor %}

      {% if unrelatedRSS %}
      <h3>Add a new RSS feed</h3>
      <form method="post" action="{% url rss_manager %}">
      {% csrf_token %}
        <p>
          <select name="rss_id">
            {% for feed in unrelatedRSS %}
            <option value="{{ feed.id }}">{{ feed.name }}</option>
            {% endfor %}
          </select>
          <input type="submit" value="Add" />
        </p>
      </form>
      {% endif %}
  </div>
